package com.wootion.dizhi.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wootion.dizhi.entity.Warning;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WarningMapper extends BaseMapper<Warning> {
    void insertWarning(Warning warning);

    Warning selectByAddressExperiment(String addressExperiment);

    List<Warning> selectAllWithPagination(@Param("offset") int offset, @Param("limit") int limit, @Param("address") String address);
}